//
//  HSYGetVerificationCodeRequest.m
//  HSY
//
//  Created by 陈浩 on 2017/4/6.
//  Copyright © 2017年 金开门. All rights reserved.
//

#import "HSYGetVerificationCodeRequest.h"

@implementation HSYGetVerificationCodeRequest

- (NSString *)serviceCode{
    return API_SERVICE_CODE_GET_VERIFICATION_CODE;
}

- (NSDictionary *)requestData{
    NSAssert(self.cellphone.length > 0, @"手机号不能为空");
    NSAssert(self.type.length > 0, @"验证码类型不能为空");

    NSMutableDictionary *params = [@{} mutableCopy];
    params[@"cellphone"] = self.cellphone;
    params[@"type"] = self.type;
    
    return params;
}

@end
